#include<stdio.h>
#include<stdlib.h>
#include<string.h>

int main(int argc,char *argv[])
{
	if(argc!=2)
		printf("loop exe<file\n");
	else
	{
		char arg[0xff];
		char command[0xff];
		while(scanf("%s",arg)!=EOF)
		{
			strcpy(command,argv[1]);
			strcat(command," ");
			strcat(command,arg);
			system(command);
		}
	}
	return 0;
}


